var express = require('express');
var router = express.Router();
/* GET home page. */
// router.get('/', function(req, res, next) {
//   res.render('congratulate');
// });
/* GET users listing. */
router.get('/', function(req, res, next) {
    console.log(req.query); // 用来获取请求参数的
    res.render('congratulate');
  });
router.post('/', function(req, res, next) {
    console.log(req.query); // 用来获取请求参数的
    res.send('respond with a resource');
  });

router.get('/loginidentify', function(req,res,next){
    console.log(req.form);
});
module.exports = router;
